package com.ruoyi.parcel.util;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "aliyun.sms")
@PropertySource("classpath:aliyun.properties")
public class AliyunSmsConfig {
    private String accessKey;
    private String accessKeySecret;
    private String signName;
    private String templateCode;
    private String regionId;
    private String endpoint;
}
